/**
 * @details: 
 * @brief: 
 * @version: 1.0
 * @author: liuri
 * @Date: 2021-10-05 03:55:16
 * @LastEditors: liuri
 * @LastEditTime: 2021-10-05 04:56:28
 * @FilePath: /TestProject/cPath/vtysh/cmd.c
 * @Copyright (C) 2021 liuri. All rights reserved.
 */
#include <stddef.h>
#include "vector.h"
#include "cmd.h"


vector cmdvec = NULL;           /**< 根节点 */


void cmd_init (int terminal)
{
    // 初始化根节点
    cmdvec = vector_init (VECTOR_MIN_SIZE);

    // 安装根节点
    cmd_node_init();
}
